package com.suny.Farm.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "修改牧场状态DTO")
public class FarmUpdateStatusDTO {
    @NotNull(message = "牧场ID不能为空")
    @Schema(description = "牧场ID")
    private Integer id;
    @NotNull(message = "状态不能为空")
    @Schema(description = "状态(0=停用,1=启用)")
    private Integer status;
}
